<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>商务室 - <{$sitetitle}></title>
<link href="<{$CSS_PATH}>css/style.css" rel="stylesheet" type="text/css">
<link href="<{$INC_PATH}>css/room.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<{$JS_PATH}>js/general.js"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td height="83"><{include file="default/element.top.html"}></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr align="center" valign="top">
    <td width="180" align="center" background="<{$tpl_img_path}>office/left_bg.gif"><{include file="room/menu.html"}></td>
    <td><table  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="<{$tpl_img_path}>office/banr_pic.gif" width=570 height=101 alt=""></td>
      </tr>
    </table>
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="45" background="<{$tpl_img_path}>office/title_bg.gif"><table height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>&nbsp;</td>
                <td class="font14b_org"><img src="<{$tpl_img_path}>office/icon_newd.gif" width="15" height="16"> 站外链接管理</td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5" valign="top" class="bggray2"></td>
        </tr>
      </table>
      <br>
      <table width="95%" border="0" cellpadding="2" cellspacing="0" class="bggray">
        <tr>
          <td height="35" class="gray"><FONT color=#000000><strong>我们的合作伙伴</strong>：</FONT></td>
          <td align="right" class="btn-input"><a href="./outlinkedit.php">添加</a>新的站外链接</td>
        </tr>
      </table>      
      <br>
	  <form name="companylinkfrm" action="<{$smarty.server.PHP_SELF}>" method="post">
      <table width="95%%"  border="0" cellspacing="0" cellpadding="5">
        <tr align="center">
          <td><table width="100%"  border="0" cellpadding="5" cellspacing="1" class="bgblue">
            <tr align="center">
              <td width="8%" height="30"><input type="checkbox" name="idAll" onClick="uaCheckAll(this, 'id[]')" title="全选"></td>
              <td width="40%" height="30"><strong>链接标题</strong></td>
              <td height="30"><strong>链接地址</strong></td>
              <td width="10%" height="30"><strong>操作</strong></td>
            </tr>
	  <{foreach from=$Links item=l name=OutLinks}>
            <tr align="center" class="bggray">
              <td><input type="checkbox" name="id[]" value="<{$l.CompanyoutlinkId}>" onClick="uaCheckItem(this, 'idAll')"></td>
              <td align="left"><{$l.CompanyoutlinkName}></td>
              <td><{$l.CompanyoutlinkUrl}></td>
              <td><a href="outlinkedit.php?id=<{$l.CompanyoutlinkId}>" class="orange">修改</a></td>
            </tr>
  		<{foreachelse}>
		<{/foreach}>
        </table></td>
        </tr>
        <tr align="center">
          <td>&nbsp;</td>
        </tr>
        <tr align="center">
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td height="1" background="<{$tpl_img_path}>office/index_trade_line.gif"></td>
              </tr>
          </table></td>
        </tr>
        <tr align="center" valign="bottom">
          <td height="40"><input  name="delete" type="submit" id="delete" value= "删除选中的"></td>
        </tr>
      </table>
	  </form>
    </td>
  </tr>
</table>
<{include file="room/foot.html"}>
</body>
</center>
 </html>

